package com.itheima.io.outputstream.demo02;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class OutputStreamDemo01 {

    public static void main(String[] args) throws IOException {

        OutputStream outputStream = new FileOutputStream("itheima-io-outputstream\\a.txt", true);

        outputStream.write("please say hello first.\r\n".getBytes());

        outputStream.close();

    }

}
